#dialog{
    display: none;
}

.dialog-left{
    margin:15px;
    display:flex;
}

.dialog-left .user-header{
    width:50px;height:50px;
}

.dialog-left .user-header img{
    width:100%;height:100%;border-radius:50%;overflow:hidden;
}

.dialog-left .user-msg{
    width: 60%;
    margin-left:15px;
    flex-direction: column;
}

.dialog-left .user-msg .text{
    position: relative;
    display: inline-block;
    padding: 10px;
    text-align: justify;
    line-height: 20px;
    background: #eee;
    border-radius: 5px;
}

.dialog-left .user-msg .text::after{
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border: 5px solid #eee;
    border-color: transparent transparent #eee transparent;
    top: 0;
    left: -5px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    border-radius: 5px;
}

.dialog-left .user-msg .text .content{
    /* padding: 10px; */
    /* background: #eee; */
    /* border-radius: 5px; */
}

.dialog-right{
    margin:15px;
    display:flex;
    justify-content:flex-end;
}

.dialog-right .cs-header{
    width:50px;height:50px;
}

.dialog-right .cs-header img{
    width:100%;height:100%;border-radius:50%;overflow:hidden;
    background:url('/static/images/01.jpg') no-repeat;
    background-size: 100% 100%;
}

.dialog-right .cs-msg{
    margin-right:15px;
    flex-direction: column;
    width: 60%;
    text-align: end;
}

.dialog-right .cs-msg .text{
    position: relative;
    display: inline-block;
    padding: 10px;
    text-align: justify;
    line-height: 20px;
    background: #eee;
    border-radius: 5px;
}

.dialog-right .cs-msg .text::before{
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border: 5px solid #e2e2e2;
    border-color: transparent transparent #eee transparent;
    top: 0;
    right: -5px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    border-radius: 5px;
}

.subscribe{
    text-align: center;
    width: 100%;
    color: #fff;
    font-size: 12px;
}

.subscribe span{
    background: rgba(0,0,0,0.2);
    padding: 3px 5px;
    border-radius: 3px;
}


